﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [Table("Xj001")]
    public class EntityUser:EntityBase
    {
        [StringLength(50)]
        [Column("Xj01")]
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [Column("Xj02")]
        public bool Sex { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        [Column("Xj03")]
        public bool Pyone { get; set; }

        /// <summary>
        /// 兴趣爱好
        /// </summary>
        [MaxLength(100),MinLength(10)]
        [Column("Xj04")]
        public string? inteest { get; set; }

        /// <summary>
        /// 获奖情况
        /// </summary>
        [MaxLength(100), MinLength(10)]
        [Column("Xj05")]
        public string? Certificates { get; set; }

        /// <summary>
        ///住址 
        /// </summary>
        [Column("Xj06")]
        public string? address { get; set; }

    }
}
